import http from "@/api/axios";

export const getListApi = (data: MaterialIndex.SearchForm) => {
  return http({
    method: "post",
    url: "/base/biz/bizMaterialQuality/page",
    data
  });
};
export const addMaterialApi = (data: Base.GeneraDataType) => {
  return http({
    method: "post",
    url: "/base/biz/bizMaterialQuality/addBizMaterialQuality",
    data
  });
};
export const editMaterialApi = (data: Base.GeneraDataType) => {
  return http({
    method: "POST",
    url: "/base/biz/bizMaterialQuality/updateBizMaterialQuality",
    data
  });
};
export const updateMaterialApi = (data: MaterialIndex.AddForm) => {
  return http({
    method: "post",
    url: "/base/biz/bizMaterialQuality/updateStatus",
    data
  });
};
